<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>lesson 32</title>
  <style>

  </style>
  <script src="https://unpkg.com/vue@next"></script>

</head>
<body>
  <div id="root"></div>
</body>
<script>
  // 插件相关

  const app = Vue.createApp({
    data() {
      return {
        show: false,
      }
    },
    methods:{
      handleBtnClick(){
        this.show = !this.show;
      }
    },
    template: `
      <my-title />
    `
  });

  app.component('my-title',{
    template: "<div>123</div>"
  })

  const vm = app.mount('#root');
</script>
</html>